package com.mcxx.modules.system.dao.read;

import com.mcxx.formulcount.param.FormulCountParam;
import com.mcxx.modules.system.dto.RuleItemDTO;
import com.mcxx.modules.system.entity.AreaSalvationEntity;
import com.mcxx.modules.system.entity.SalvationRuleEntity;
import com.mcxx.modules.system.param.SalvationRuleParam;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface SalvationRuleReadDao extends Ta404SupportMapper {
    List<SalvationRuleEntity> querySalvationRuleList(SalvationRuleEntity param);

    SalvationRuleEntity getById(String id);


    List<SalvationRuleEntity> queryRuleCount(FormulCountParam param);


    List<SalvationRuleEntity> listSalvationRule(SalvationRuleParam param);

    List<AreaSalvationEntity> getAreaSalivations(List<String> areaCodes, List<String> types);
}
